//
//  DataAnalyzeCtr.m
//  YetcarText
//
//  Created by ming on 17/8/29.
//  Copyright © 2017年 ming. All rights reserved.
//

#import "DataAnalyzeCtr.h"
#import "DataAnalyzeView.h"
#import "DataAnalyzeBottomView.h"
#import "ThreadCtr.h"
@interface DataAnalyzeCtr ()

@end

@implementation DataAnalyzeCtr

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor=[UIColor whiteColor];
    self.title=@"数据分析";
    
    DataAnalyzeView *dataAnalyzeView=[[DataAnalyzeView alloc]initWithFrame:CGRectMake(0, 64, Main_Screen_Width, Main_Screen_Height-49-64)];
    WS(SELF)
    dataAnalyzeView.topView.btnBack=^(NSInteger tag){
        ThreadCtr *vc=[ThreadCtr new];
        [SELF.navigationController pushViewController:vc animated:YES
         ];
        NSLog(@"%ld",(long)tag);
    };

    dataAnalyzeView.bottomView.callBack=^(NSInteger tag){
    
        //NSLog(@"%ld",(long)tag);
    };

    [self.view addSubview:dataAnalyzeView];
}


@end
